import myRequest from './index';

export const getVehicleListApi = (data: any) => {
  return myRequest<any>('/admin_api/vehicle_type/list', {
    method: 'POST',
    data,
  });
};

export const editVehicleApi = (data: any) => {
  return myRequest<any>('/admin_api/vehicle_type/edit', {
    method: 'POST',
    data,
  });
};

export const addVehicleApi = (data: any) => {
  return myRequest<any>('/admin_api/vehicle_type/add', {
    method: 'POST',
    data,
  });
};
